package com.nexus.core.sys.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.nexus.core.query.annotation.QueryCondition;
import com.nexus.core.query.annotation.QueryType;
import com.nexus.core.service.dto.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 机构用户表
 *
 * @Date 2025/7/28 15:08
 * @Author Administrator
 **/
@Data
@EqualsAndHashCode(callSuper = false)
public class SysOrgUserDTO extends BaseDTO {


    /**
     * 组织机构
     */
    @ExcelProperty("组织机构")
    @QueryCondition(tableField = "org.id", type = QueryType.EQ)
    private SysOrgDTO org;
    /**
     * 系统用户
     */
    @ExcelProperty("系统用户")
    @QueryCondition(tableField = "user.id", type = QueryType.EQ)
    private SysUserDTO user;
}